<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>Document</title>
</head>
<body>

<style>
    .floatDiv{
        float:right;
        height:50px;
        border:1px solid red;
    }

    .normalDiv{
        height:500px;
        border:1px solid red;
    }
</style>
<div class="floatDiv">
    part1
</div>
<div class="normalDiv">
    part2
</div>
</body>
</html>